package cn.mxh.pethspt.entity;
import java.time.LocalDateTime;
/**
 * 预约实体类
 */
public class Order {
    private Integer eId;// 员工id
    private Integer oId;// 预约id号
    private LocalDateTime oCreateTime;// 预约创建时间
    private LocalDateTime oTime;// 预约时间
    private Integer coId;// 套餐id
    private Integer uId;// 用户id
    private Integer oStatus;// 预约状态时间 0 表示已经预约，1 未预约

    public Order(){}

    public Order(Integer eId, Integer oId, LocalDateTime oCreateTime, LocalDateTime oTime, Integer coId, Integer uId, Integer oStatus) {
        this.eId = eId;
        this.oId = oId;
        this.oCreateTime = oCreateTime;
        this.oTime = oTime;
        this.coId = coId;
        this.uId = uId;
        this.oStatus = oStatus;
    }

    public Integer geteId() {
        return eId;
    }

    public void seteId(Integer eId) {
        this.eId = eId;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public LocalDateTime getoCreateTime() {
        return oCreateTime;
    }

    public void setoCreateTime(LocalDateTime oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public LocalDateTime getoTime() {
        return oTime;
    }

    public void setoTime(LocalDateTime oTime) {
        this.oTime = oTime;
    }

    public Integer getCoId() {
        return coId;
    }

    public void setCoId(Integer coId) {
        this.coId = coId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getoStatus() {
        return oStatus;
    }

    public void setoStatus(Integer oStatus) {
        this.oStatus = oStatus;
    }

    @Override
    public String toString() {
        return "Order{" +
                "eId=" + eId +
                ", oId=" + oId +
                ", oCreateTime=" + oCreateTime +
                ", oTime=" + oTime +
                ", coId=" + coId +
                ", uId=" + uId +
                ", oStatus=" + oStatus +
                '}';
    }
}
